using System.Collections.Generic;

namespace Subfaculty.Common.Interfaces
{
	public interface IBaseTranslator<TSource, TPe>
	{
		TPe Translate(TSource source);
		IEnumerable<TPe> Translate(IEnumerable<TSource> sources);
		TSource TranslateBack(TPe pe, TSource entity);
	}
}